<template>
    <div>
        <h1>我是祖先组件</h1>
        <Parent></Parent>
    </div>
</template>

<script setup>
import { provide } from 'vue';
import Parent from './Parent.vue';

const theme={
    color:'blue',
    fontSize:'10px'
}
provide('tKey',theme)


</script>